﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemLYH.API.Application.Command.QualityCommand
{
    /// <summary>
    /// 质检添加
    /// </summary>
    public class QualityCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 质检编号
        /// </summary>
        public string? QualityNumber { get; set; }
        /// <summary>
        /// 质检名称 
        /// </summary>
        public string? QualityName { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int SupplierID { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? finishedProductNumber { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? finishedProductName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? finishedProductModel { get; set; }
        /// <summary>
        /// BOM编号
        /// </summary>
        public string? BomNumbering { get; set; }
        /// <summary>
        /// 尺寸
        /// </summary>
        public string? finishedSize { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? finishedBatch { get; set; }

        /// <summary>
        /// 生产线编号
        /// </summary>
        public string? productionlineNumber { get; set; }
        /// <summary>
        /// 生产线名称
        /// </summary>
        public string? productionlineName { get; set; }
        /// <summary>
        /// 工艺路线编号
        /// </summary>
        public string? CraftManageNumber { get; set; }
        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string? CraftManageName { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string? ProcessNumber { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 质检数量
        /// </summary>
        public int Qualityquantity { get; set; }
        /// <summary>
        /// 合格量
        /// </summary>
        public int Qualified { get; set; }
        /// <summary>
        /// 不合格量
        /// </summary>
        public int UnQualified { get; set; }
        /// <summary>
        /// 质检结果
        /// </summary>
        public string? QualityResults { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 质检类型
        /// </summary>
        public string? QualityType { get; set; }
        /// <summary>
        /// 质检方案
        /// </summary>
        public string? QualityScheme { get; set; }
        /// <summary>
        /// 质检状态
        /// </summary>
        public string? QualityState { get; set; }
        /// <summary>
        /// 检验组
        /// </summary>
        public string? Examine { get; set; }
    }
}
